package com.baidu.day03;

import java.io.File;

public class Demo02 {
    public static void main(String[] args) {
        File file = new File("C:\\Users\\14288\\Desktop\\b.txt");
        File newFile = new File("C:\\Users\\14288\\Desktop\\a\\c.txt");
        file.renameTo(newFile);

    }
}
